﻿using Orleans;
using Pay.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Pay.Model.Model;
using Pay.Dal;
using Pay.Container;

namespace Pay.ServiceImplement
{
    public class AliOrderServiceImplement : Grain, IAliOrderService
    {
        public async Task<long> Add(AliOrderInfo model)
        {
            var instance = LocManager.Resolve<IAliOrderDal>();
             return await instance.Add(model);
        }
    }
}
